package com.ynet.middleground.user.bean;

import com.ynet.core.common.BaseReqObj;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author Wangxz
 * @description 企业用户删除企业员工用户角色关系请求类
 * @date 2019-11-25
 */
@Data
@ApiModel(value = "企业用户删除企业员工用户角色关系对象", description = "企业用户删除企业员工用户角色关系对象")
public class DeleteAddUserRoleRelationReq extends BaseReqObj {
    private static final long serialVersionUID = 9144014356215854252L;
    /**
     * 员工id
     */
    @ApiModelProperty(value = "员工id", notes = "员工id", dataType = "Integer", required = true)
    @NotNull(message = "员工id不能为空！")
    private Integer userId;

    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id", notes = "角色id", dataType = "Integer", required = true)
    @NotNull(message = "角色id不能为空！")
    private Integer roleId;

    /**
     * 所属企业id
     */
    @ApiModelProperty(value = "所属企业id(即企业客户的userId)", notes = "所属企业id(即企业客户的userId)", dataType = "Integer", required = true)
    @NotNull(message = "所属企业id不能为空！")
    private Integer enterpriseId;
}
